package com.agriculture.competition.domain;

import com.agriculture.common.core.annotation.Excel;
import com.agriculture.common.core.web.domain.BaseEntity;
import com.agriculture.competition.domain.vo.ClassfiyModelVo;
import lombok.Data;

import java.util.List;

/**
 * 模型管理对象 ja_model_manage
 *
 * @author agriculture
 * @date 2024-11-13
 */
@Data
public class JaModelManage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 模型名称
     */
    @Excel(name = "模型名称")
    private String modelName;

    /**
     * 模型所属分类
     */
    @Excel(name = "模型所属分类")
    private String modelType;

    /**
     * 模型描述
     */
    @Excel(name = "模型描述")
    private String describe;

    /**
     * 模型状态
     */
    @Excel(name = "模型状态")
    private String status;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String briefIntroduction;

    /**
     * 详情
     */
    @Excel(name = "详情")
    private String details;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUser;

    private String createUserStr;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUser;


    /**
     * 模型分类id 多个逗号隔开
     */
    @Excel(name = "模型分类id 多个逗号隔开")
    private String classifyId;

    /**
     * 喜欢的个数---点击次数
     */
    @Excel(name = "喜欢的个数")
    private Long collectNum;


    /**
     * 修改需要传入分类ids分类主键list
     */
    private List<Long> classifyIds;

    /**
     * m模型对应的分类list
     */
    private List<ClassfiyModelVo> classfiyModelVos;


    /**
     * 创建人名
     */
    @Excel(name = "创建人名")
    private String createUserName;

    /**
     * 模型前端是否可见
     */
    @Excel(name = "模型前端是否可见")
    private String isShow;

    private Long groupId;

    private String groupName;
    private Long solutionId;
    private String competitionName;
}
